/* BAMBOO 1.0 Pendant 页面专属样式 */
:root {
  --page-side-pad: clamp(20px, 3.2vw, 60px);
  --content-gap: clamp(10px, 0.9vw, 18px);
  --line-color: #8e8e8e;
  --text-muted: #bfbfbf;
}

/* 引入自定义字体 */
@font-face {
    font-family: 'MontserratBold';
    src: url('../fonts/Montserrat-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratLight';
    src: url('../fonts/Montserrat-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../fonts/Montserrat-Regular.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Semi Bold';
    src: url('../fonts/Montserrat Semi Bold.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* 主体内容区 */
.main-content {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding-left: var(--page-side-pad);
  padding-right: var(--page-side-pad);
}

/* 英雄图区域 */
.hero-image-box {
  width: 100%;
  position: relative;
  border: 1px solid #1e1e1e;
}

.hero-image-box video {
  max-width: 1920px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 820px;
}

@media (max-width: 1919px) {
  .hero-image-box {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

@media (min-width: 1920px) {
  .hero-image-box {
    width: calc(100% + (var(--page-side-pad) * 2));
    max-width: 1920px;
    margin-left: calc(var(--page-side-pad) * -1);
    margin-right: calc(var(--page-side-pad) * -1);
  }
}

/* 播放按钮 */
.hero-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(44px, 3vw, 64px);
  height: clamp(44px, 3vw, 64px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-play::before {
  content: '';
  margin-left: 3px;
  border-left: 11px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

/* 分栏布局 */
.split-section {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: var(--content-gap);
  margin-top: var(--content-gap);
  margin-bottom:clamp(28px, 2.7vw, 54px);
}

/* 文字面板 */
.text-panel {
  width: 100%;
  background: #000;
  
}

.text-panel h2,
.text-panel h3,
.text-panel h4 {
  font-family: 'MontserratBold', Arial, sans-serif;
  margin-bottom: clamp(8px, 0.7vw, 12px);
  font-size: clamp(15px, 1.2vw, 24px);
}

.text-panel h2 {
  margin-bottom: clamp(2px, 0.2vw, 4px);
}

.text-panel .sub-title {
  font-family: 'MontserratBold', Arial, sans-serif;
  font-size: clamp(15px, 1.2vw, 24px);
  margin-bottom: clamp(2px, 0.2vw, 4px);
}

.text-panel .designer {
  font-size: clamp(15px, 1.2vw, 24px);
  color: #ffffff;
  margin-bottom: clamp(2px, 0.2vw, 4px);
  font-family: 'MontserratSemiBold', Arial, sans-serif;
}

.text-panel .designer .meta {
  color: var(--text-muted);
  font-family: 'MontserratLight', Arial, sans-serif;
  margin-left: clamp(6px, 0.45vw, 10px);
}

.text-panel p {
  font-size: clamp(12px, 0.85vw, 16px);
  color: #ececec;
  font-family: 'MontserratLight', Arial, sans-serif;
  line-height: 1.35;
  text-align: justify;
  text-align-last: left;
  text-justify: inter-character;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
  hyphenate-limit-lines: 2;
  word-spacing: normal;
  letter-spacing: 0.2px;
  word-break: break-word;
}

.text-panel .paragraph-tight {
  margin-bottom: 0;
}

/* 图片面板 */
.image-panel,
.gallery-right {
  max-width: 1189px;
  width: 100%;
}

.image-panel img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 图库区域 */
.gallery-section {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: var(--content-gap);
  margin-top: var(--content-gap);
}

.gallery-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-gap);
}

.gallery-right .full-width {
  grid-column: 1 / -1;
}

.gallery-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 分隔线 */
.divider {
  height:1px;
  background-color: #a3a2a2;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-clip: content-box;
}

.section-with-padding {
  padding-left: 0;
  padding-right: 0;
}

/* 下载区域 */
.download-area {
  margin-top: clamp(28px, 2.7vw, 54px);
}

.download-area .divider {
  width: calc(100% + (var(--page-side-pad) * 2));
  margin-left: calc(var(--page-side-pad) * -1);
  margin-right: calc(var(--page-side-pad) * -1);
  padding-left: var(--page-side-pad);
  padding-right: var(--page-side-pad);
}

.download-title {
  font-family: 'MontserratBold', Arial, sans-serif;
  font-size: clamp(14px, 1.15vw, 24px);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: clamp(10px, 0.9vw, 18px) 0 clamp(24px, 3.6vw, 70px);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: end;
  column-gap: clamp(24px, 18vw, 368px);
  row-gap: clamp(22px, 3vw, 48px);
  margin: 0 0 120px;
  width: 100%;
}

.download-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(10px, 5vw, 90px);
  width: 100%;
  min-width: 0;
}

.download-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.7vw, 12px);
  color: #fff;
  font-family: 'MontserratLight', Arial, sans-serif;
  font-size: clamp(11px, 1.1vw, 24px);
  letter-spacing: clamp(0px, 0.03vw, 0.4px);
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  white-space: nowrap;
  justify-content: flex-start;
}

.download-item img {
  width: clamp(12px, 1.25vw, 25px);
  height: clamp(14px, 1.45vw, 29px);
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  flex: 0 0 auto;
}

/* 产品分类 */
.typologies-title {
  font-family: 'MontserratBold', Arial, sans-serif;
  font-size: clamp(14px, 1.45vw, 24px);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: clamp(16px, 1.5vw, 30px) 0 clamp(12px, 1.3vw, 26px);
}

.typology-grid {
  display: grid;
  grid-template-columns: 32% 34% 34%;
  column-gap: clamp(8px, 1.3vw, 25px);
  row-gap: clamp(8px, 0.9vw, 18px);
  align-items: start;
  margin-bottom: clamp(14px, 1.5vw, 30px);
  padding-right: var(--page-side-pad);
  transform: translateX(25px);
}

.typology-intro {
  color: transparent;
}

.typology-card {
  position: relative;
  background: transparent;
  width: 100%;
  max-width: 574px;
  max-height: 625px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.typology-card img {
  width: 100%;
  height: auto;
  max-width: 574px;
  max-height: 625px;
  object-fit: contain;
  display: block;
  padding: 0;
}

.typology-label {
  position: absolute;
  left: 0;
  bottom: clamp(-30px, -1.9vw, -18px);
  color: #fff;
  font-family: 'MontserratBold', Arial, sans-serif;
  font-size: clamp(17px, 1.15vw, 22px);
  text-transform: uppercase;
}

/* 响应式适配 */
@media (max-width: 1500px) and (min-width: 768px) {
  .social-icons {
    margin-right: 0;
  }
}

@media (max-width: 767px) {
  .main-content {
    padding-top: 55px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-image-box {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border: none;
  }

  .hero-play {
    width: 50px;
    height: 50px;
  }

  .hero-play::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .split-section,
  .gallery-section {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-right {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .text-panel {
    padding: 8px;
  }

  .text-panel h2,
  .text-panel h3,
  .text-panel h4 {
    font-size: clamp(18px, 4vw, 24px);
    margin-bottom: 5px;
  }

  .text-panel .sub-title {
    font-size: clamp(16px, 3.5vw, 22px);
    margin-bottom: 5px;
  }

  .text-panel .designer {
    font-size: clamp(14px, 3vw, 20px);
    margin-bottom: 5px;
  }

  .text-panel p {
    font-size: clamp(12px, 3vw, 16px);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-character;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 6 3 2;
    hyphenate-limit-lines: 2;
    word-spacing: normal;
    letter-spacing: 0.2px;
    word-break: break-word;
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .download-area {
    margin-top: 20px;
  }

  .download-area .divider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .download-title {
    font-size: clamp(12px, 3vw, 18px);
    margin: 12px 0 20px;
  }

  .download-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    column-gap: 14px;
    row-gap: 10px;
    margin-bottom: 20px;
    font-size: clamp(10px, 2.8vw, 14px);
  }

  .download-item {
    font-size: clamp(10px, 2.8vw, 14px);
  }

  .download-item img {
    width: clamp(16px, 3.5vw, 28px);
    height: clamp(18px, 4vw, 32px);
  }

  .typologies-title {
    font-size: clamp(12px, 3vw, 18px);
    margin: 20px 0 15px;
  }

  .typology-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-right: 0;
    transform: none;
  }

  .typology-intro {
    display: none;
  }

  .typology-card img {
    max-width: 100%;
    max-height: none;
  }

  .typology-label {
    font-size: clamp(10px, 2.5vw, 16px);
    bottom: -20px;
  }

  .footer {
    margin-bottom: 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .footer-links {
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 20px;
  }

  .footer-links a {
    font-size: 11px;
  }

  .social-icons {
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
    justify-content: center;
    width: 100%;
  }

  .social-icon img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 479px) {
  .main-content {
    padding-top: 50px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-image-box {
    width: 100%;
  }

  .split-section,
  .gallery-section {
    gap: 10px;
  }

  .gallery-right {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .text-panel h2,
  .text-panel h3,
  .text-panel h4 {
    font-size: clamp(16px, 4vw, 20px);
  }

  .text-panel p {
    font-size: clamp(11px, 3vw, 14px);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-character;
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 6 3 2;
    hyphenate-limit-lines: 2;
    word-spacing: normal;
    letter-spacing: 0.2px;
    word-break: break-word;
    margin-top: 6px;
    margin-bottom: 6px;
  }

  .download-grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    column-gap: 14px;
    row-gap: 10px;
    margin-bottom: 20px;
    font-size: clamp(10px, 2.8vw, 14px);
  }

  .download-item {
    font-size: clamp(10px, 2.8vw, 14px);
  }

  .download-item img {
    width: clamp(14px, 3.5vw, 24px);
    height: clamp(16px, 4vw, 28px);
  }

  .typology-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .typology-label {
    font-size: clamp(8px, 2vw, 12px);
    bottom: -15px;
  }

  .footer-links {
    gap: 10px 15px;
  }

  .footer-links a {
    font-size: 10px;
  }
}